package com.tgy.pojo;

/***
 * @ClassName: Man
 * @Description: 实体类
 * @Auther: 送一一块二向箔
 * @Date: 20:45 2021/12/5
 * @version : V1.0
 */
public class Man {
    private String name;
    private int age;

    public Man() {
    }

    public Man(String name, int age) {
        this.name = name;
        this.age = age;
    }

    @Override
    public String toString() {
        return "Man{" +
                "name='" + name + '\'' +
                ", age=" + age +
                '}';
    }

    public String getName() {
        return name;
    }

    public Man setName(String name) {
        this.name = name;
        return this;
    }

    public int getAge() {
        return age;
    }

    public Man setAge(int age) {
        this.age = age;
        return this;
    }
}
